package wyj;

import java.util.Scanner;

class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int i,z,ws,a,b;
        double x;
        i = in.nextInt();
        ws=-1;
        a=i;
        b=i;
        while (a!=0){
            a=b/10;
            ws++;
            b=b/10;
        }

        if (i<=10000&i>=-10000){
            if (i<0){
                System.out.print("fu");
                i=-i;
                while (-i<0){
                 x=i/(Math.pow(10,ws));
                i=i%10;
                ws--;
                z=(int)x;
                switch (z) {
                    case 0:
                        System.out.print(" ling");break;
                    case 1:
                        System.out.print(" yi");break;
                    case 2:
                        System.out.print(" er");break;
                    case 3:
                        System.out.print(" san");break;
                    case 4:
                        System.out.print(" si");break;
                    case 5:
                        System.out.print(" wu");break;
                    case 6:
                        System.out.print(" liu");break;
                    case 7:
                        System.out.print(" qi");break;
                    case 8:
                        System.out.print(" ba");break;
                    case 9:
                        System.out.print(" jiu");break;
                }
                }


            }
            else if (i==0){
                System.out.println("ling");

            }
            else{
                while (i>0){
                    x=i/(Math.pow(10,ws));
                    i=i%10;
                    ws--;
                    z=(int)x;
                    switch (z) {
                        case 0:
                            System.out.print(" ling");break;
                        case 1:
                            System.out.print(" yi");break;
                        case 2:
                            System.out.print(" er");break;
                        case 3:
                            System.out.print(" san");break;
                        case 4:
                            System.out.print(" si");break;
                        case 5:
                            System.out.print(" wu");break;
                        case 6:
                            System.out.print(" liu");break;
                        case 7:
                            System.out.print(" qi");break;
                        case 8:
                            System.out.print(" ba");break;
                        case 9:
                            System.out.print(" jiu");break;
                    }
                }

            }
        }
    }
}
